<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<title>#{appLabels.aplicacao_titulo}</title>
	<h:outputStylesheet library="css" name="style.css" />
</h:head>
<h:body>
	<div style="width:99%; margin:auto; border:0px solid #000; text-align:right; height: 50px;">
		<div style="border: 0px solid #000; float: left; width: 170px;">
			<h:graphicImage value="#{resource['images:tsf_logo_menu.png']}" style="margin:3px 20px;" />
		</div>
		<div style="border: 0px solid #000; float: left; width: 500px; height: 50px;" align="left">
			<h3>#{appLabels.aplicacao_titulo}</h3>
		</div>
		<div style="border: 0px solid #000; float: right; height: 50px;" align="right">
			<h:graphicImage value="#{resource['images:tim_intelig.png']}" style="height:30px;" />
		</div>
	</div>
	
	<ui:include src="inc_menu.xhtml"><!-- Inclui o Menu da Aplicacao --></ui:include>  
	
	<!-- USUARIOS -->
    <div id="box_usuario">
        <div class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content-active">
            <ul id="box_list_usuario">
                <li><b><h:graphicImage value="#{resource['images:icones/ico_1.png']}" style="margin:0 5px 0 0;" /><h:outputText value="#{TSF_USER.username}" /></b></li>
            </ul>
        </div>
    </div>
    <!-- X USUARIOS -->
	<div id="titulo_pagina" style="margin:5px 40px 0 40px;">
		<ui:insert name="page_title"><!-- TITULO DA PAGINA --></ui:insert>
	</div>
	<div id="descricao_pagina" style="margin:5px 40px 0 40px;">
		<ui:insert name="page_description"><!-- DESCRICAO DA PAGINA --></ui:insert>
	</div>
	<div id="conteudo_pagina" style="margin:5px 40px 0 40px;">
		<h:form id="form">
			<p:messages id="error_box" showDetail="true" autoUpdate="true" />
			<ui:insert name="content"><!-- Conteudo da pagina --></ui:insert>
		</h:form>
	    <!-- RODAPE -->
	    <div id="rodape">
	        <div id="divMenu" class="ui-dialog-titlebar ui-widget-header ui-corner-bottom ui-corner-top ui-helper-clearfix">
	        	label_company_name | <span>Todos os direitos reservados.</span>
	            <a href="http://www.google.com.br" target="_new" title="Nome da Empresa">
	            <h:graphicImage value="#{resource['images:skynix.png']}"  style="float:right" /></a>
	        </div>
	    </div>
	     <!-- X RODAPE -->
	</div>
</h:body>
</html>